package com.boluo.audit.mapper;

import java.util.List;
import java.util.Set;

import com.boluo.audit.domain.AudCarPackage;
import org.apache.ibatis.annotations.Param;

/**
 * 套餐审核Mapper接口
 * 
 * @author boluo
 * @date 2023-04-17
 */
public interface AudCarPackageMapper 
{
    /**
     * 查询套餐审核
     * 
     * @param id 套餐审核主键
     * @return 套餐审核
     */
    public AudCarPackage selectAudCarPackageById(Long id);

    /**
     * 查询套餐审核列表
     * 
     * @param audCarPackage 套餐审核
     * @return 套餐审核集合
     */
    public List<AudCarPackage> selectAudCarPackageList(AudCarPackage audCarPackage);

    /**
     * 新增套餐审核
     * 
     * @param audCarPackage 套餐审核
     * @return 结果
     */
    public int insertAudCarPackage(AudCarPackage audCarPackage);

    /**
     * 修改套餐审核
     * 
     * @param audCarPackage 套餐审核
     * @return 结果
     */
    public int updateAudCarPackage(AudCarPackage audCarPackage);

    /**
     * 删除套餐审核
     * 
     * @param id 套餐审核主键
     * @return 结果
     */
    public int deleteAudCarPackageById(Long id);

    /**
     * 批量删除套餐审核
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAudCarPackageByIds(Long[] ids);

    List<AudCarPackage> selectAudCarPackageByProcessInstanceIds(@Param("processInstanceIdSet") Set<String> processInstanceIdSet);

    /**
     * 根据流程实例id查询 套餐信息
     * @param processInstanceId
     * @return
     */
    AudCarPackage selectAudCarPackageByProcessInstanceId(String processInstanceId);
}
